@extends('layouts.admin')

@section('content')
<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">Department - <small>{{ $department->department_name }}</small></h1>
		<ol class="breadcrumb">
			<li>
				<a href="{{ url('departments') }}">
					<span class="glyphicon glyphicon-arrow-left"></span> Back
				</a>
			</li>
			<li class="active">
				<a href="{{url('departments/'.$department->id.'/edit')}}">
					<span class="glyphicon glyphicon-edit"></span> Edit
				</a>
			</li>
			<li>
				<a href="{{url('departments/'.$department->id.'/delete')}}">
					<span class="glyphicon glyphicon-trash"></span> Delete
				</a>
			</li>
		</ol>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
		<label>Short Department Name</label> : {{ $department->short_department_name }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>Department Name</label> : {{ $department->department_name }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>Department Description</label> : {{ $department->department_description }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>PDF Password</label> : {{ $department->pdf_password }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>All Department Template</label> : {{ implode(', ', $department->templates->lists('template_name')) }}
	</div>
</div>
@stop